package com.wqm.batis.common;

/**
 * @author wangqinmin
 * @date 2023/3/16 23:07
 * @description: 共产主义接班人
 */
public enum ResponseEnum {

    FAILED(0, "操作失败"),
    SUCCESS(1, "执行成功");

    private final long code;
    private final String msg;

    ResponseEnum(final long code, final String msg) {
        this.code = code;
        this.msg = msg;
    }

    public long getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
